﻿using Colorful.Furniture.IEntity;
using FreeSql.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations;

namespace Colorful.Furniture.ErpInventoryManagement;

/// <summary>
/// 商品对应店铺信息
/// </summary>
[Table(Name = "erp_bbs_inventory_shop")]
public class InventoryShop : AuditTenantSoftDeleteAggregateRoot
{
    /// <summary>
    ///   编码
    /// </summary>
    [Column(Name = "id")]
    public Guid Id { get; set; }

    /// <summary>
    ///   产品编码
    /// </summary>
    [Column(Name = "inventory_id")]
    public Guid? InventoryId { get; set; }

    /// <summary>
    ///  产品编号
    /// </summary>
    [Column(Name = "product_no", StringLength = 100)]
    public string ProductNo { get; set; }
    
    /// <summary>
    /// 抖音商品的skuId
    /// </summary>
    [Column(Name = "sku_id", StringLength = 150)]
    public string SkuId { get; set; }

    /// <summary>
    ///  提交订单时刻的商品数量换算比例（1：Number）
    /// </summary>
    [Column(Name = "number")]
    public int? Number { get; set; }

}

